﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<VietThuongLMS.ViewModels.GiaoVienByMonHocViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<style>
.one_fourth 
{
    float: left !important;
}
</style>

    <div class="wrap_headline">
				<div class="headline">
					<h1><%=Resources.Global.thong_tin_giao_vien%></h1>
				</div>
			</div>
			<div class="wrap_cont_nav">
				<div class="cont_nav">
					<a href='<%=ResolveUrl("~/")%>'><%=Resources.Global.trang_chu%></a>&nbsp;/&nbsp;<%=Resources.Global.giao_vien%>
				</div>
			</div>
			<div class="container">			
				<section id="middle">
					<div class="middle_inner">
<!-- __________________________________________________ Start Content -->

						<section id="middle_content">
                        <% 
                        if (@Model != null && @Model.monHocList != null && @Model.monHocList.Count > 0)
                        {
                            foreach (VietThuongLMS.ViewModels.MonHocForGVList monhoc in @Model.monHocList)
                            {%>
							<div class="entry">
								<h2><%=@monhoc.monHoc.TenMonHoc %></h2>
								
                                    <%
                                        if (monhoc != null && monhoc.giaovienList.Count > 0)
                                        {
                                            int i=0;
                                            foreach (VietThuongLMS.GiaoVien giaovien in monhoc.giaovienList)
                                            {%>
                                            <%if (i % 4 == 0)
                                              { %>
                                            <section class="post_type_shortcode short">
                                            <%} %>
									            <div class="one_fourth" style="width: 260px;">
                                                    <%--<article class="portfolio format-slider">
                                                        <div class="portfolio_inner">--%>
                                                            <%--<a href="#" class="imgHoatDong" title=""></a>
												            <figure>
													            <img src="<%=ResolveUrl("~/Images/Avatar/")%><%=@giaovien.Avatar %>" alt="" class="fullwidth" />
												            </figure>
												            <div class="project_rollover" style="background-color:#6cc437;">
													            <header class="entry-header">
														            <h6 class="entry-title" style="text-align:center"><a href="#"><%=@giaovien.TaiKhoan.HoTen%></a></h6>
														            <span class="cmsms_post_img"></span>
													            </header>
													            <span class="entry-content">
														            Kinh nghiệm: <%=@giaovien.KinhNghiemGiangDay %> năm
                                                                    <br />
                                                                    <%=@giaovien.KinhNghiemBieuDien %>
                                                                    <br />
                                                                    Bằng cấp: <%=@giaovien.HocVan %>
                                                                    <br />
													            </span>
												            </div>--%>
                                                            <div style="height: 260px; width: 260px;">
                                                            <a href="<%=ResolveUrl("~/ThongTinGiaoVien/")%><%=@giaovien.ID%>" class="imgHoatDong" title="">
													            <img src="<%=ResolveUrl("~/Images/Avatar/")%><%=@giaovien.Avatar %>" style="max-width:260px; max-height:260px" alt="" class="fullwidth" />
                                                            </a>
                                                            </div>
												            <%--<div class="project_rollover" style="background-color:#6cc437;">
													            <header class="entry-header">--%>
														            <%--<h6 class="entry-title" style="text-align:center"><a href="#"><%=@giaovien.TaiKhoan.HoTen%></a></h6>--%>
														            <%--<span class="cmsms_post_img"></span>
													            </header>
												            </div>--%>
                                                            <div class="project_rollover" style="background-color: rgb(108, 196, 55); height: 22px; font-size:15px;padding:5px; text-align:center ">
                                                                <%=@giaovien.TaiKhoan.HoTen%>
                                                                </div>
                                                        <%--</div>
                                                    </article>--%>
                                                </div>
                                                <%if (i % 4 == 3)
                                              { %>
                                            <div class="cl"></div>
								</section>
                                            <%}
                                                i++; %>
                                            <%}
                                        }%>
									
                                <div class="divider"></div>
							</div>
                            <%}
                                        }%>
						</section>
<!-- __________________________________________________ Finish Sidebar -->	
						
						</div>
					</div>
				</section>
                
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <title><%=Resources.Global.title%> - <%=Resources.Global.giao_vien%></title>
</asp:Content>
